﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="contact.aspx.vb" Inherits="contact" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MenuContentPlaceHolder" Runat="Server">
    
   <p>
        <asp:Label ID="Label1" runat="server" Text="To:" Width="70px"></asp:Label>
        <asp:TextBox ID="txtTo" runat="server" ReadOnly="True" Width="175px">supportSFU@yahoo.com</asp:TextBox></p>
    <p>
        <asp:Label ID="Label2" runat="server" Text="From:" Width="70px"></asp:Label>
        <asp:TextBox ID="txtFrom" runat="server" Width="175px"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ControlToValidate="txtFrom" ErrorMessage="Please enter a valid Email" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
    </p>
    <p>
        <asp:Label ID="Label3" runat="server" Text="Subject:" Width="70px"></asp:Label>
        <asp:TextBox ID="txtSub" runat="server" Width="250px"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator1" runat="server" 
            ControlToValidate="txtSub" ErrorMessage="Subject must not be blank">*</asp:RangeValidator>
    </p>
    <p>
        <asp:Label ID="Label4" runat="server" Text="Body:" Width="50px"></asp:Label></br>
        &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp <asp:TextBox ID="txtBody" runat="server" 
            Height="75px" TextMode="MultiLine" 
            Width="450px"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator2" runat="server" 
            ControlToValidate="txtBody" ErrorMessage="Body must not be blank" 
            BackColor="#0066FF">*</asp:RangeValidator>
    </p>
    &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp<asp:Button ID="Button1" runat="server" Text="Send Mail" />
    </div>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
</asp:Content>

